<script lang="ts" setup>
import { useStore } from '@/stores';
import 'dayjs/locale/zh-cn';
import { zhCn } from 'element-plus/es/locale/index';

const store = useStore();
store.initData();
</script>

<template>
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>
